package com.xiaoxi.statemode;

import com.xiaoxi.statemode.frame.SafeFrame;

/**
 * @Author xiaoxi
 * @ProjectName design_mode
 * @PackageName com.xiaoxi.statemode
 * @ClassName Main
 * @Description TODO
 * @Date 2023/3/27 21:27
 * @Version 1.0
 */
public class Main {
    public static void main(String[] args) {
        SafeFrame safeFrame = new SafeFrame("银行金库系统");
//        while (true) {
//            for (int i = 0; i < 24; i++) {
//                try {
//                    Thread.sleep(1000);
//                } catch (InterruptedException e) {
//                    e.printStackTrace();
//                }
//                safeFrame.setClock(i);
//            }
//        }
        safeFrame.setClock(12);
    }
}
